package cn.iocoder.yudao.module.crossborder.platform.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 店铺信息 DTO
 *
 * @author LHL
 */
@Schema(description = "RPC 服务 - 店铺信息 DTO")
@Data
public class StoreDTO {

    @Schema(description = "店铺编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "平台编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    private Long platformId;

    @Schema(description = "平台名称", example = "Amazon")
    private String platformName;

    @Schema(description = "店铺代码", requiredMode = Schema.RequiredMode.REQUIRED, example = "STORE001")
    private String code;

    @Schema(description = "店铺名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "我的Amazon店铺")
    private String name;

    @Schema(description = "店铺类型", example = "1")
    private Integer type;

    @Schema(description = "店铺状态", example = "1")
    private Integer status;

    @Schema(description = "平台店铺ID", example = "A1PQBFHBHS6YH1")
    private String platformStoreId;

    @Schema(description = "卖家ID", example = "A1PQBFHBHS6YH1")
    private String sellerId;

    @Schema(description = "市场ID", example = "ATVPDKIKX0DER")
    private String marketplaceId;

    @Schema(description = "店铺URL", example = "https://www.amazon.com/sp?seller=A1PQBFHBHS6YH1")
    private String storeUrl;

    @Schema(description = "店铺区域", example = "US")
    private String region;

    @Schema(description = "店铺货币", example = "USD")
    private String currency;

    @Schema(description = "店铺语言", example = "en-US")
    private String language;

    @Schema(description = "联系人", example = "张三")
    private String contactPerson;

    @Schema(description = "联系电话", example = "13800138000")
    private String contactPhone;

    @Schema(description = "联系邮箱", example = "store@example.com")
    private String contactEmail;

    @Schema(description = "授权状态", example = "1")
    private Integer authStatus;

    @Schema(description = "授权时间")
    private LocalDateTime authTime;

    @Schema(description = "授权过期时间")
    private LocalDateTime authExpireTime;

    @Schema(description = "最后同步时间")
    private LocalDateTime lastSyncTime;

    @Schema(description = "同步状态", example = "1")
    private Integer syncStatus;

    @Schema(description = "是否启用", example = "true")
    private Boolean enabled;

    @Schema(description = "排序", example = "1")
    private Integer sort;

    @Schema(description = "备注", example = "主要销售电子产品")
    private String remark;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
